package com.gegewa.builder;

import java.util.ArrayList;
import java.util.List;

public class Vehicle {

    List<String> partList = new ArrayList<>();

    public void addPart(String part) {
        partList.add(part);
    }

    public void show() {
        for (String part : partList) {
            System.out.println(part);
        }
    }

}
